package com.leather.market.feginclient.impl;

import com.leather.common.entity.User;
import com.leather.market.feginclient.UserClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class UserClientHystrix implements UserClient {


    @Override
    public User getUserById(Integer id) {
        log.error("调用用户接口失败，useId : {}", id);
        return null;
    }
}
